#ifndef USERWIDGET_H
#define USERWIDGET_H

#include <QWidget>
#include <QPushButton>
#include <QLabel>
#include <QLineEdit>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QString>
#include <QMessageBox>
#include <QListWidget>
#include <QListWidgetItem>

#include "view/inwidget.h"
#include "view/outwidget.h"
#include "view/lookingtingswidget.h"

class UserWidget : public QWidget
{
    Q_OBJECT
public:
    explicit UserWidget(QWidget *parent = nullptr);
    void init_Control();
    void init_Widget();
    void init_Connect();//初始化连接信号和槽

private:
    QPushButton *InBtn;
    QPushButton *OutBtn;
    QPushButton *DoBtn;

    QVBoxLayout *VLay;
    QHBoxLayout *HLay;

    InWidget *inwidget;

    OutWidget *outwidget;

    LookingTingsWidget *lookingWidget;


signals:

public slots:
    void on_InBtn_cliked();//注册按钮的槽函数
    void on_OutBtn_cliked();
    void on_DoBtn_cliked();
    void showMyself();
};

#endif // USERWIDGET_H
